import { createRouter, createWebHistory, RouteRecordRaw, createWebHashHistory } from 'vue-router'
import Index from '../views/Index.vue'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'Index',
    component: Index
  }
]
// console.log('process.env.BASE_URL', process.env.BASE_URL)
const router = createRouter({
  history: createWebHistory('/ac'), // createWebHistory('/activity'),
  routes
})

export default router
